home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11inc.lha / X11 / Xm / ScrolledW.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-13  |  1.7 KB  |  64 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  3.  * ALL RIGHTS RESERVED
  4. */ 
  5. /*   $RCSfile: ScrolledW.h,v $ $Revision: 1.10 $ $Date: 92/05/14 12:56:50 $ */
  6. /*
  7. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  8. #ifndef _XmScrolledWindow_h
  9. #define _XmScrolledWindow_h
  10.  
  11. #include <Xm/Xm.h>
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16.  
  17.  
  18. #ifndef XmIsScrolledWindow
  19. #define XmIsScrolledWindow(w)    XtIsSubclass(w, xmScrolledWindowWidgetClass)
  20. #endif /* XmIsScrolledWindow */
  21.  
  22.  
  23. externalref WidgetClass xmScrolledWindowWidgetClass;
  24.  
  25. typedef struct _XmScrolledWindowClassRec * XmScrolledWindowWidgetClass;
  26. typedef struct _XmScrolledWindowRec      * XmScrolledWindowWidget;
  27.  
  28.  
  29. /********    Public Function Declarations    ********/
  30. #ifdef _NO_PROTO
  31.  
  32. extern void XmScrolledWindowSetAreas() ;
  33. extern Widget XmCreateScrolledWindow() ;
  34. extern void XmScrollVisible() ;
  35.  
  36. #else
  37.  
  38. extern void XmScrolledWindowSetAreas( 
  39.                         Widget w,
  40.                         Widget hscroll,
  41.                         Widget vscroll,
  42.                         Widget wregion) ;
  43. extern Widget XmCreateScrolledWindow( 
  44.                         Widget parent,
  45.                         char *name,
  46.                         ArgList args,
  47.                         Cardinal argCount) ;
  48. extern void XmScrollVisible(
  49.             Widget          scrw,
  50.             Widget          wid,
  51.             Dimension       hor_margin, 
  52.             Dimension       ver_margin) ;
  53.  
  54. #endif /* _NO_PROTO */
  55. /********    End Public Function Declarations    ********/
  56.  
  57.  
  58. #ifdef __cplusplus
  59. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  60. #endif
  61.  
  62. #endif /* _XmScrolledWindow_h */
  63. /* DON'T ADD ANYTHING AFTER THIS #endif */
  64.